package com.springBoot.service;

import com.springBoot.commonClass.PostNewFile;
import com.springBoot.entity.ObjectsEntity;

import java.util.concurrent.Future;

public interface FileOperationService {

//    public PostNewFile insertNewFile(PostNewFile newFile);
    public Future<PostNewFile> insertNewFile(PostNewFile newFile);

//    public PostNewFile updateFile(PostNewFile newFile);
    public Future<PostNewFile> updateFile(PostNewFile newFile);

    public Future<PostNewFile> querySingleFile(ObjectsEntity obj);

    public void deleteSingleFile(ObjectsEntity obj);

    public void modifyFileName(ObjectsEntity objectsEntity);
}
